<template>
  <div class='CheckBotton' :class="{check:isCheck}">
    <img src="~assets/img/cart/tick.svg" alt="">
  </div>
</template>

<script>
  export default {
    name: 'CheckBotton',
    data() {
      return {}
    },
    props: {
      isCheck: {
        type: Boolean,
        default() {
          return true
        }
      }
    },
    methods: {},
  }
</script>

<style scoped>
  .CheckBotton {
    width: 20px;
    height: 20px;
    border-radius: 10px;
    border: 2px solid #aaa;
  }

  .check {
    background-color: pink;
    border: 1px solid pink;
  }
</style>